const MyPlugin = {};
MyPlugin.install = (Vue) => {
    Vue.directive('back', {
        inserted(el) {
            el.onclick = () => {
                window.history.back();
            }
        }
    })
}

export default MyPlugin;